<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>权限绑定</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="../../../component/elementUI/index.css" />
    <link rel="stylesheet" href="../../../style/index.css" />
  </head>

  <body>
    <div id="app" class="minWidth">
      <el-form
        :model="form"
        ref="contract"
        inline-message="true"
        style="width: 100%"
      >
        <div class="table_titel">
          <div class="titel">权限绑定</div>
        </div>
        <div style="margin-bottom: 100px">
          <el-tree
            :default-checked-keys="checked"
            :data="menuList"
            ref="tree"
            show-checkbox
            node-key="Mark_System_Number"
            check-on-click-node
            default-expand-all
            :expand-on-click-node="false"
            @check-change="handleCheckChange"
            check-strictly
          >
            <template v-slot="{data}">
              <span
                :style="data.Mark_System_Number.length==5?'color:rgb(196, 81, 46)':''"
                >{{data.Model_Name}}</span
              >
            </template>
          </el-tree>
        </div>
        <el-form-item class="form-operation">
          <el-button @click="window.history.back()">返回</el-button>
          <el-button
            type="primary"
            :loading="loading"
            @click="submitForm('contract')"
            >提交</el-button
          >
        </el-form-item>
      </el-form>
    </div>
    <script
      type="text/javascript"
      src="../../../utils/jquery-3.6.0.min.js"
    ></script>
    <script
      type="text/javascript"
      src="../../../utils/jquery.cookie.js"
    ></script>
    <script type="text/javascript" src="../../../utils/vue.min.js"></script>
    <script
      type="text/javascript"
      src="../../../component/elementUI/index.js"
    ></script>
    <script type="text/javascript" src="../../../utils/utils.js"></script>
    <script type="text/javascript" src="../../../utils/ID_Validity.js"></script>
    <script type="text/javascript" src="./js/Menu.js"></script>
  </body>
</html>
